package com.Ajava1801D.设计模式.适配器模式.对象适配;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/12  15:42
 * 描述:
 */
public class TTTTTest {

    public static void main(String[] args) {

        TTT1 ttt1=new TTT1();

        TTT2 ttt2=new TTT2();

        //适配器类
        TestShipeiLei testShipeiLei=new TestShipeiLei(ttt2,ttt1);

        TTTTTService tttttService=new TTTTTService();

        tttttService.tettt(testShipeiLei);

    }

}
